//
//  YFSearchViewCell.m
//  SquashSpark
//
//  Created by Coollang on 2017/11/9.
//  Copyright © 2017年 Coollang-YF. All rights reserved.
//

#import "YFSearchViewCell.h"

@interface YFSearchViewCell()
@property (weak, nonatomic) IBOutlet UILabel *perNameLabel;
@property (weak, nonatomic) IBOutlet UIView *bottomline;
@property (weak, nonatomic) IBOutlet UIImageView *selectDotImageView;


@end
@implementation YFSearchViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)configerCellWithPerName:(NSString *)name isSelect:(BOOL)isSelect {
    self.perNameLabel.text = name;
    self.selectDotImageView.image = isSelect ? [UIImage imageNamed:@"login_select_dot"]:[UIImage imageNamed:@"login_unselect_dot"];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    // Configure the view for the selected state
}

@end
